Skip to content

docs: Document per-app Python version selection for Flash#618

Merged
gwestersf merged 3 commits intomainfrom
promptless/flash-python-version-selection
Apr 29, 2026
Merged

docs: Document per-app Python version selection for Flash#618
gwestersf merged 3 commits intomainfrom
promptless/flash-python-version-selection

Conversation

@promptless
Copy link
Copy Markdown
Contributor

@promptless promptless Bot commented Apr 21, 2026

Open this suggestion in Promptless to view citations and reasoning process

Documents the new Python version selection feature for Flash apps. Adds --python-version CLI flag to build/deploy commands, python_version endpoint parameter, and updates requirements to support Python 3.10, 3.11, and 3.12 (with cold-start implications for non-3.12 versions).


Tip: Worried about broken links? Ask Promptless to find and fix them automatically 🔗

- Add --python-version flag to flash build and flash deploy CLI references
- Add python_version parameter to endpoint configuration parameters
- Update Python version requirements from "3.12" to "3.10, 3.11, or 3.12" across all Flash docs
- Document cold-start implications (~7 GB overhead for non-3.12 versions)
- Update troubleshooting section for supported Python versions
Comment thread flash/cli/build.mdx
@@ -90,9 +94,21 @@ Flash automatically handles cross-platform builds:

### Python version in deployed workers
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added Python version selection documentation based on PR #322 which introduces per-app python_version config and --python-version CLI flag for flash build and flash deploy. The PR's constants.py defines supported versions (3.10, 3.11, 3.12) and manifest.py implements version reconciliation logic.

Source: runpod/flash#322

Valid CUDA versions: `CudaVersion.V11_1`, `V11_4`, `V11_7`, `V11_8`, `V12_0`, `V12_1`, `V12_2`, `V12_3`, `V12_4`, `V12_6`, `V12_8` (or equivalent strings like `"12.4"`). Invalid values raise a `ValueError`.
</Note>

### python_version
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added python_version parameter documentation from PR #322. The PR's manifest.py:221-225 extracts python_version from resource configs, and cold-start overhead (~7 GB for 3.10/3.11) is noted in docs/Flash_Deploy_Guide.md within the PR.

Source: runpod/flash#322

@mintlify
Copy link
Copy Markdown

mintlify Bot commented Apr 21, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
runpod-docs 🟢 Ready View Preview Apr 21, 2026, 9:31 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@promptless promptless Bot marked this pull request as ready for review April 28, 2026 18:16
Updates documentation to reflect changes from runpod/flash PR #330:

- Add Python 3.13 to supported versions (3.10, 3.11, 3.12, 3.13)
- Document new default behavior: matches local Python version instead
  of hardcoding 3.12
- Update resolution order: CLI flag → resource config → local interpreter
- Add breaking change warning about deploy behavior change
- Update cold-start table with 3.13
- Document actionable error for unsupported Python versions (3.9, 3.14)
@gwestersf gwestersf self-requested a review April 29, 2026 21:56
@promptless
Copy link
Copy Markdown
Contributor Author

promptless Bot commented Apr 29, 2026

Just a reminder: If you'd like me to act on any feedback you have via Github comments, just type @Promptless in your suggestion and I'll get right on it! (I won't show up in the user dropdown, but I'll process any request that has @Promptless in the comment body.)

@gwestersf gwestersf merged commit 2ac98ae into main Apr 29, 2026
3 checks passed
@gwestersf gwestersf deleted the promptless/flash-python-version-selection branch April 29, 2026 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant